package com.test;

public class TypeRuleNode extends RuleNode {
	
	protected Class epectedType;
	protected boolean incChild  = false ;

	@Override
	public MatchResult howMatch(JsonKey key,Class type,Object value) {
		if(type==epectedType){
			return new MatchResult(this.nextRule,this.action);
		}else{
			return null;
		}
	}


}
